<?php
include_once("../c/config.php");
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqliTwo->error);}
 

$q=$mysqli->query('SELECT * FROM `ling` WHERE `jid` = 4 ');

while ($list=$q->fetch_assoc()){
    var_dump($list);
    echo '<br />';
    $qu=$mysqli->query('SELECT * FROM `users` where openid="'.$list['openid'].'"  ');
    $u=$qu->fetch_assoc();
    echo base64_decode($u['nickname']);
    echo '<br />';
    var_dump($u);
    echo '<br />';

    echo '........................................';
	echo '<br /><br /><br /><br />';
}